﻿<UserControl x:Class="ibba.src.norisk.Controls.ControlRelImportParametros"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:slc="clr-namespace:ibba.src.slcomponentes;assembly=ibba.src.slcomponentes"
    xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
    mc:Ignorable="d"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <toolkit:BusyIndicator x:Name="activity">
        <Grid x:Name="LayoutRoot">
            <slc:CustomContentPanel Header="Filtros" Width="450" BorderBrush="#FFF29C47" AllowDrop="True">
                <Grid Width="418">
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>

                    <StackPanel Grid.Column="0" Grid.Row="0" Orientation="Horizontal" Margin="5,5">
                        <TextBlock Text="Data Início" VerticalAlignment="Center" Margin="5,5"/>
                        <sdk:DatePicker Grid.Column="0" Height="23" HorizontalAlignment="Left" Name="dtpDtInicio" VerticalAlignment="Top" Width="120" />
                    </StackPanel>
                    <StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal" Margin="5,5">
                        <TextBlock Text="Data Fim" VerticalAlignment="Center" Margin="5,5"/>
                        <sdk:DatePicker Grid.Column="1" Height="23" HorizontalAlignment="Left" Name="dtpDtFim" VerticalAlignment="Top" Width="120" />
                    </StackPanel>
                    <Button HorizontalAlignment="Right" Grid.Row="1" Grid.Column="1" Margin="10,20,10,5" Name="btnGerarRelatorio" Width="140" Click="btnGerarRelatorio_Click">
                        <StackPanel Width="130" Orientation="Horizontal">
                            <Image Source="../image/search.png" Width="20"
							HorizontalAlignment="Left" />
                            <TextBlock Text="Gerar Relatório" Margin="15,3,0,0" />
                        </StackPanel>
                    </Button>
                </Grid>
            </slc:CustomContentPanel>
        </Grid>
    </toolkit:BusyIndicator>
</UserControl>
